﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SGSBillBoard.DTO.Model
{
    public class TopPlayerSe
    {
        public string Name { get; set; }
        public int Times { get; set; }

        public string WinnerTimes { get; set; }

        //public double Percentage { get; set; }

        public string Percentage
        {
            get { return (float.Parse(WinnerTimes.ToString()) / float.Parse(Times.ToString())).ToString("N4"); }
        }

        public Nations Nation { get; set; }
    }
}
